<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            img {
                width: 200px;
            }
            .image1 {
                box-shadow: 1px 1px 15px rgba(0, 0, 0, .5);
            }
            .image2 {
                filter: drop-shadow(1px 1px 15px rgba(0, 0, 0, .5));
            }
        </style>
    </head>
    <body>
        <img class="image1" src="https://interactive-examples.mdn.mozilla.net/media/examples/firefox-logo.svg" alt="" />
        <img class="image2" src="https://interactive-examples.mdn.mozilla.net/media/examples/firefox-logo.svg" alt="" />
    </body>
</html>
